package cn.itsource.pethome.org.domain;


import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.itsource.pethome.base.domain.BaseDomain;
import cn.itsource.pethome.constants.BaseConstants;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zcj
 * @since 2022-10-09
 */
@Data
public class Shop extends BaseDomain {
    private static final long serialVersionUID = 1L;
    @Excel(name = "店铺名字" ,orderNum = "1", width = 30, isImportField = "true_st")
    private String name;
    @Excel(name = "联系电话" ,orderNum = "2", width = 30, isImportField = "true_st")
    private String tel;
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    private Date registerTime = new Date();
    /**
     * 待审核 审核通过 驳回
     */
    private Integer state = BaseConstants.Shop.STATE_WAIT_AUTID;
    private String address;
    private String logo;
    private Long adminId;
    private Employee admin;
}
